package tech.wangpai.spring.ioc;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestGenBean {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
        Object person = ctx.getBean("person");
        System.out.println(person);
    }
}
